package com.codefish.framework.spring.context;

import com.codefish.framework.spring.beans.factory.IAware;


/**
 * ApplicationContextAware接口
 *
 * @author <a href='https://gitee.com/hzf2281'>codefish</a>
 * @version 1.0.0
 * @since 2022/10/08 上午 10:47
 */
public interface IApplicationContextAware extends IAware {
    /**
     * 获取bean拥有的ApplicationContext,该方法在完成对bean设置属性后，
     * 但在{@link com.codefish.framework.spring.beans.factory.IInitializingBean#afterPropertiesSet()}之前执行。
     *
     * @param applicationContext bean拥有的ApplicationContext
     */
    void setApplicationContext(IApplicationContext applicationContext);
}
